package com.base.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.po.sqlparam.CommoditiesExamplePage;
import com.base.po.voip.Commodities;
import com.base.po.voip.CommoditiesExample;

public interface CommoditiesService {
	int countByExample(CommoditiesExample example);

	int deleteByExample(CommoditiesExample example);

	int deleteByPrimaryKey(String id);

	int insert(Commodities record);

	int insertSelective(Commodities record);

	List<Commodities> selectByExample(CommoditiesExample example);

	List<Commodities> selectByExamplePage(CommoditiesExamplePage example);

	Commodities selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Commodities record, @Param("example") CommoditiesExample example);

	int updateByExample(@Param("record") Commodities record, @Param("example") CommoditiesExample example);

	int updateByPrimaryKeySelective(Commodities record);

	int updateByPrimaryKey(Commodities record);
}
